<?php

$subject ="hello world";

$s = str_replace("he","eh", $subject);
echo $s;

?>